package com.zp.drug.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.zp.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 保存库存扣减、stock_log和处方对应视图对象
 *
 * @author zhang peng
 * @ date 2024-06-07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ExcelIgnoreUnannotated
public class GrantStockVsPrescriptionVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String grantStockVsId;

    /**
     * 库存id
     */
    @ExcelProperty(value = "库存id")
    private String stockId;

    /**
     * 分组字段
     */
    @ExcelProperty(value = "分组字段")
    private String identicalInfoId;

    /**
     * 扣减数量
     */
    @ExcelProperty(value = "扣减数量")
    private Integer num;

    /**
     * 处方主记录id
     */
    @ExcelProperty(value = "处方主记录id")
    private String prescriptionApplyId;

    /**
     * 处方明细id
     */
    @ExcelProperty(value = "处方明细id")
    private String prescriptionItemId;

    /**
     * 批次号
     */
    @ExcelProperty(value = "批次号")
    private String batchNo;

    /**
     * 库存扣减记录id
     */
    private String drugStockAllLogId;


}
